# -*- bazel -*-

load("@drake//tools/skylark:cc.bzl", "cc_library")

licenses(["notice"])  # SGI-B-2.0

cc_library(
    name = "glx",
    hdrs = glob(["include/**/*.h"]),
    includes = ["include"],
    linkopts = [
        "-L/usr/lib/x86_64-linux-gnu",
        "-lGLX",
    ],
    visibility = ["//visibility:public"],
    deps = [
        "@opengl",
        "@x11",
    ],
)
